package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.pojo.Role;

import java.util.List;

public interface RoleService {

    void addRole(Integer[] menusIds, Role role);

    PageResult findPage(Integer currentPage, Integer pageSize, String queryString);

    void deleteRoleById(Integer id);

    void editRole(Integer[] menusIds, Role role);

    List<Role> findAll();
}
